export const state = () => ({
  // 初始化从cookie中获取用户的sid 数据
  sid: "",
  // 登录状态
  loginStatus: 0
});

export const mutations = {
  s_login(state, isLogining) {
    state.loginStatus = isLogining || 0;
  }
};

export const actions = {};
